package com.teach.basic.model.vo;

import com.teach.basic.model.po.Associator;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class ArticleVO implements Serializable {
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "文章类型 00-普通 01评鉴 02活动 03公告 04-推荐")
    private String type;

    @ApiModelProperty(value = "作者")
    private Associator associator;

    @ApiModelProperty(value = "文章缩略图url")
    private String thumbnailUrl;

    @ApiModelProperty(value = "点赞次数")
    private Integer praiseTimes;

    @ApiModelProperty(value = "评论次数")
    private Integer commentTimes;

    @ApiModelProperty(value = "浏览次数")
    private Integer viewTimes;

    @ApiModelProperty(value = "排序")
    private String sortIndex;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Associator getAssociator() {
        return associator;
    }

    public void setAssociator(Associator associator) {
        this.associator = associator;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public Integer getPraiseTimes() {
        return praiseTimes;
    }

    public void setPraiseTimes(Integer praiseTimes) {
        this.praiseTimes = praiseTimes;
    }

    public Integer getCommentTimes() {
        return commentTimes;
    }

    public void setCommentTimes(Integer commentTimes) {
        this.commentTimes = commentTimes;
    }

    public Integer getViewTimes() {
        return viewTimes;
    }

    public void setViewTimes(Integer viewTimes) {
        this.viewTimes = viewTimes;
    }

    public String getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(String sortIndex) {
        this.sortIndex = sortIndex;
    }
}
